package co.baiku.boot.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 苹果支付
 */
@ConfigurationProperties(prefix = "ajavaer.apple")
public class ApplePayConfig {
    private String verifyReceiptUrl = "https://buy.itunes.apple.com/verifyReceipt";
    private String verifyReceiptUrlSandbox = "https://sandbox.itunes.apple.com/verifyReceipt";
    private Boolean enableSandbox = true;

    public String getVerifyReceiptUrl() {
        return verifyReceiptUrl;
    }

    public void setVerifyReceiptUrl(String verifyReceiptUrl) {
        this.verifyReceiptUrl = verifyReceiptUrl;
    }

    public String getVerifyReceiptUrlSandbox() {
        return verifyReceiptUrlSandbox;
    }

    public void setVerifyReceiptUrlSandbox(String verifyReceiptUrlSandbox) {
        this.verifyReceiptUrlSandbox = verifyReceiptUrlSandbox;
    }

    public Boolean getEnableSandbox() {
        return enableSandbox;
    }

    public void setEnableSandbox(Boolean enableSandbox) {
        this.enableSandbox = enableSandbox;
    }
}
